package com.runfast.paotui;

import java.io.IOException;
import java.io.OutputStream;
import java.net.InetSocketAddress;
import java.net.Socket;

/**
 * @author: lijin
 * @date: 2018年03月08日
 */
public class Main2 {
    public static void main(String[] args) throws IOException, InterruptedException {
        Socket socket = new Socket();
        socket.connect(new InetSocketAddress(12345));
        OutputStream outputStream = socket.getOutputStream();
//        PrintWriter printWriter = new PrintWriter(outputStream);
//        printWriter.println(new Date().toString());
//        printWriter.close();
        Thread.sleep(30000);
    }
}
